package org.cloudie.docs.editor.client.behaviors;

import org.cloudie.docs.editor.client.managers.DropReceiveManager;

import com.allen_sauer.gwt.dnd.client.PickupDragController;
import com.google.gwt.user.client.ui.Widget;

public interface HasReceiveBehavior {

  DropReceiveManager getDropReceiveManager();
  void setDragController(PickupDragController controller);
  PickupDragController getDragController();
  boolean acceptsReceives(Widget dropped, boolean isFinal);
  boolean acceptsReceives();
  void onReceive(Widget received, int x, int y);
  
}
